home *** CD-ROM | disk | FTP | other *** search
/ Champak 99 / (Vol 99) Jan 19 2010.iso / Games / bubble_burst.swf / scripts / __Packages / mx / events / EventDispatcher.as next >
Encoding:
Text File  |  2010-01-19  |  3.8 KB  |  135 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function()
  33.    {
  34.    }[┬º┬ºconstant(5)];
  35.    f.h[┬º┬ºconstant(4)] = function()
  36.    {
  37.    }[┬º┬ºconstant(6)] = function(queue, event, handler)
  38.    {
  39.       if(queue != undefined)
  40.       {
  41.          var _loc4_ = queue[┬º┬ºconstant(7)];
  42.          var _loc1_ = undefined;
  43.          _loc1_ = 0;
  44.          while(_loc1_ < _loc4_)
  45.          {
  46.             var _loc2_ = queue[_loc1_];
  47.             if(_loc2_ == handler)
  48.             {
  49.                queue[┬º┬ºconstant(8)](_loc1_,1);
  50.                return undefined;
  51.             }
  52.             _loc1_ = _loc1_ + 1;
  53.          }
  54.       }
  55.    };
  56.    f.h[┬º┬ºconstant(4)] = function()
  57.    {
  58.    }[┬º┬ºconstant(9)] = function(object)
  59.    {
  60.       if(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(10)] == undefined)
  61.       {
  62.          f.h[┬º┬ºconstant(4)][┬º┬ºconstant(10)] = new f.h[┬º┬ºconstant(4)]();
  63.       }
  64.       object[┬º┬ºconstant(11)] = f.h[┬º┬ºconstant(4)][┬º┬ºconstant(10)][┬º┬ºconstant(11)];
  65.       object[┬º┬ºconstant(12)] = f.h[┬º┬ºconstant(4)][┬º┬ºconstant(10)][┬º┬ºconstant(12)];
  66.       object[┬º┬ºconstant(13)] = f.h[┬º┬ºconstant(4)][┬º┬ºconstant(10)][┬º┬ºconstant(13)];
  67.       object[┬º┬ºconstant(14)] = f.h[┬º┬ºconstant(4)][┬º┬ºconstant(10)][┬º┬ºconstant(14)];
  68.    };
  69.    _loc2_[┬º┬ºconstant(14)] = function(queueObj, eventObj)
  70.    {
  71.       var _loc7_ = ┬º┬ºconstant(15) + eventObj[┬º┬ºconstant(16)];
  72.       var _loc4_ = queueObj[_loc7_];
  73.       if(_loc4_ != undefined)
  74.       {
  75.          var _loc5_ = undefined;
  76.          for(_loc5_ in _loc4_)
  77.          {
  78.             var _loc1_ = _loc4_[_loc5_];
  79.             var _loc3_ = typeof _loc1_;
  80.             if(_loc3_ == ┬º┬ºconstant(17) || _loc3_ == ┬º┬ºconstant(18))
  81.             {
  82.                if(_loc1_[┬º┬ºconstant(19)] != undefined)
  83.                {
  84.                   _loc1_[┬º┬ºconstant(19)](eventObj);
  85.                }
  86.                if(_loc1_[eventObj[┬º┬ºconstant(16)]] != undefined)
  87.                {
  88.                   if(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(20)][eventObj[┬º┬ºconstant(16)]] == undefined)
  89.                   {
  90.                      _loc1_[eventObj[┬º┬ºconstant(16)]](eventObj);
  91.                   }
  92.                }
  93.             }
  94.             else
  95.             {
  96.                _loc1_[┬º┬ºconstant(21)](queueObj,[eventObj]);
  97.             }
  98.          }
  99.       }
  100.    };
  101.    _loc2_[┬º┬ºconstant(13)] = function(eventObj)
  102.    {
  103.       if(eventObj[┬º┬ºconstant(22)] == undefined)
  104.       {
  105.          eventObj[┬º┬ºconstant(22)] = this;
  106.       }
  107.       this[eventObj[┬º┬ºconstant(16)] + ┬º┬ºconstant(23)](eventObj);
  108.       this[┬º┬ºconstant(14)](this,eventObj);
  109.    };
  110.    _loc2_[┬º┬ºconstant(11)] = function(event, handler)
  111.    {
  112.       var _loc3_ = ┬º┬ºconstant(15) + event;
  113.       if(this[_loc3_] == undefined)
  114.       {
  115.          this[_loc3_] = new ┬º\┬º\┬ºconstant(24)┬º();
  116.       }
  117.       _global[┬º┬ºconstant(25)](this,_loc3_,1);
  118.       f.h[┬º┬ºconstant(4)][┬º┬ºconstant(6)](this[_loc3_],event,handler);
  119.       this[_loc3_][┬º┬ºconstant(26)](handler);
  120.    };
  121.    _loc2_[┬º┬ºconstant(12)] = function(event, handler)
  122.    {
  123.       var _loc2_ = ┬º┬ºconstant(15) + event;
  124.       f.h[┬º┬ºconstant(4)][┬º┬ºconstant(6)](this[_loc2_],event,handler);
  125.    };
  126.    f.h[┬º┬ºconstant(4)] = function()
  127.    {
  128.    }[┬º┬ºconstant(10)] = undefined;
  129.    f.h[┬º┬ºconstant(4)] = function()
  130.    {
  131.    }[┬º┬ºconstant(20)] = {(┬º┬ºconstant(27)):1,(┬º┬ºconstant(28)):1};
  132.    ┬º┬ºpush(┬º┬ºconstant(25)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(5)],null,1));
  133. }
  134. §§pop();
  135.